package com.shop.admin.validate.paper;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.shop.common.validator.annotation.IDMust;

/**
 * 考试任务指派参数
 * @author DragonDean
 */
@Data
@ApiModel("考试任务指派更新参数")
public class PaperAssignUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Integer id;

    @NotNull(message = "paperId参数缺失")
    @ApiModelProperty(value = "试卷ID")
    private String paperId;

    @NotNull(message = "userType参数缺失")
    @ApiModelProperty(value = "用户类型，1技师，2合伙人")
    private String userType;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @NotNull(message = "userMobile参数缺失")
    @ApiModelProperty(value = "用户手机")
    private String userMobile;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "状态，0待考，1未通过，2已通过")
    private Integer status;

    @NotNull(message = "times参数缺失")
    @ApiModelProperty(value = "考试次数")
    private Integer times;

    @NotNull(message = "highest参数缺失")
    @ApiModelProperty(value = "最高分")
    private Integer highest;

}
